package pojo;

import annotation.fields;
import annotation.table;

@table("favourite")
public class Favourite {
    @fields(colounmName = "uid")
    Integer uid;
    @fields(colounmName = "nid")
    Integer nid;

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public Integer getNid() {
        return nid;
    }

    public void setNid(Integer nid) {
        this.nid = nid;
    }

    public Favourite() {
    }

    public Favourite(Integer uid, Integer nid) {
        this.uid = uid;
        this.nid = nid;
    }

    @Override
    public String toString() {
        return "Favourite{" +
                "uid=" + uid +
                ", nid=" + nid +
                '}';
    }
}
